package com.zhongxiangspace.service.impl;

import com.zhongxiangspace.entity.Entrust;
import com.zhongxiangspace.mapper.EntrustMapper;
import com.zhongxiangspace.service.EntrustService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 委托
 */
@Service
public class EntrustServiceImpl implements EntrustService {

    @Autowired
    private EntrustMapper entrustMapper;

    /**
     * 插入数据
     * @param entrust
     * @return
     */
    @Override
    public boolean insert(Entrust entrust) {
        return this.entrustMapper.insert(entrust);
    }
}
